var app=angular.module("app",[]);
app.controller("ctrl1",["$scope","$http",function($scope,$http){
	$http.get("http://h5.yztctech.net/api/axf/apihome.php")
	.success(function(data){
//      console.log(data.data.menu[0].activity);
        $scope.data=data.data.menu;
	})
}]);
app.controller("ctrl2",["$scope","$http",function($scope,$http){
	$http.get("http://h5.yztctech.net/api/axf/apihomehot.php")
	.success(function(data){
        console.log(data);
//      $scope.data=data.data.menu;
	})
}]);